import request from '@/utils/request'

const prePath = '/wms'

//货位管理List
export function getCargoSpacePage(data) {
  return request({
    url: prePath + '/cargoSpace/customizeList/page',
    method: 'post',
    data,
  })
}
// 货位管理删除
export function removeCargoSpace(data) {
  return request({
    url: prePath + '/cargoSpace',
    method: 'delete',
    data,
  })
}

//获取货位管理产品
export function getCargoSpaceProductById(id) {
  return request({
    url: prePath + '/cargoSpace/' + id,
    method: 'get',
  })
}

//更新货位管理
export function updateCargoSpaceProduct(data) {
  return request({
    url: prePath + '/cargoSpace/save',
    method: 'post',
    data,
  })
}

//获取货位管理产品数据
export function getCargoSpaceProductAll(params) {
  return request({
    url: prePath + '/cargoSpaceProduct/all',
    method: 'get',
    params,
  })
}

//启用货位
export function enableCargoSpace(data) {
  return request({
    url: prePath + '/cargoSpace/enabled',
    method: 'post',
    data,
  })
}

//停用货位
export function disabledCargoSpace(data) {
  return request({
    url: prePath + '/cargoSpace/disabled',
    method: 'post',
    data,
  })
}

export function shelfNoPrint(data) {
  return request({
    url: prePath + '/goodsLocation/shelfNoPrint',
    method: 'post',
    data,
  })
}

//获取上架任务
export function getPutShelfTaskById(id) {
  return request({
    url: prePath + '/putShelfTask/' + id,
    method: 'get',
  })
}

// 上架任务删除
export function removePutShelfTask(data) {
  return request({
    url: prePath + '/putShelfTask',
    method: 'delete',
    data,
  })
}

//获取上架任务详情
export function getPutShelfTaskDetailCustomizeListAll(data) {
  return request({
    url: prePath + '/putShelfTaskDetail/customizeList/all',
    method: 'post',
    data,
  })
}

//上架任务明细查询分页
export function getPutShelfTaskDetailListPage(data) {
  return request({
    url: prePath + '/putShelfTaskDetail/customizeList/page',
    method: 'post',
    data,
  })
}
//上架任务明细查询全部
export function getPutShelfTaskDetailListCustomizeListAll(data) {
  return request({
    url: prePath + '/putShelfTaskDetail/customizeList/all',
    method: 'post',
    data,
  })
}
//上架任务明细分组
export function getPutShelfTaskDetailListCustomizeGroups(data) {
  return request({
    url: prePath + '/putShelfTaskDetail/customizeGroups',
    method: 'post',
    data,
  })
}
//上架任务明细页导出
export function excelPutShelfTaskDetailList(data) {
  return request({
    url: prePath + '/putShelfTaskDetail/excelDetailList',
    responseType: 'blob',
    method: 'post',
    data,
  })
}
//上架任务明细页打印
export function printPutShelfTaskDetailList(data) {
  return request({
    url: prePath + '/putShelfTaskDetail/printDetailList',
    method: 'post',
    data,
  })
}

// 上架任务导出
export function exportExcelPutShelfTaskOrder(data) {
  return request({
    url: prePath + `/putShelfTask/excelOrderList`,
    method: 'POST',
    data,
    responseType: 'blob',
  })
}

//上架任务打印
export function printPutShelfTaskOrderList(data) {
  return request({
    url: prePath + '/putShelfTask/printOrderList',
    method: 'post',
    data,
  })
}

//上架任务详情导出
export function excelPutShelfTaskOrder(data) {
  return request({
    url: prePath + '/putShelfTask/excelOrder',
    responseType: 'blob',
    method: 'post',
    data,
  })
}

//上架任务详情打印
export function printPutShelfTaskOrder(data) {
  return request({
    url: prePath + '/putShelfTask/printOrder',
    method: 'post',
    data,
  })
}
//上架任务接单
export function putShelfTaskReceive(data) {
  return request({
    url: prePath + '/putShelfTask/orderReceive',
    method: 'post',
    data,
  })
}
//上架转交
export function transferPutShelfTask(data) {
  return request({
    url: prePath + '/putShelfTask/transfer',
    method: 'post',
    data,
  })
}
//上架任务取消
export function putShelfTaskStore(data) {
  return request({
    url: prePath + '/putShelfTask/store',
    method: 'post',
    data,
  })
}

export function putShelfTaskCancel(data) {
  return request({
    url: prePath + '/putShelfTask/cancel',
    method: 'post',
    data,
  })
}
//上架任务中止
export function putShelfTaskStop(data) {
  return request({
    url: prePath + '/putShelfTask/stop',
    method: 'post',
    data,
  })
}

//上架新增
export function createPutShelfTask(data) {
  return request({
    url: prePath + '/putShelfTask/addPutShelfTask',
    method: 'post',
    data,
  })
}

//wms出库新增
export function createWmsExportOrder(data) {
  return request({
    url: prePath + '/exportStockOrder',
    method: 'post',
    data,
  })
}

//拣货新增
export function createDownShelfTask(data) {
  return request({
    url: prePath + '/downShelfTask',
    method: 'post',
    data,
  })
}

//拣货查询
export function getDownShelfById(id) {
  return request({
    url: prePath + '/downShelfTask/' + id,
    method: 'get',
  })
}

//拣货删除
export function removeDownShelfTask(data) {
  return request({
    url: prePath + '/downShelfTask',
    method: 'delete',
    data,
  })
}

//拣货转交
export function transferDownShelfTask(data) {
  return request({
    url: prePath + '/downShelfTask/transfer',
    method: 'post',
    data,
  })
}

//拣货任务明细页导出
export function excelDownShelfTaskDetailList(data) {
  return request({
    url: prePath + '/downShelfTaskDetail/excelDetailList',
    responseType: 'blob',
    method: 'post',
    data,
  })
}

// 拣货任务导出
export function exportExcelDownShelfTaskOrder(data) {
  return request({
    url: prePath + `/downShelfTask/excelOrderList`,
    method: 'POST',
    data,
    responseType: 'blob',
  })
}

//拣货任务打印
export function printDownShelfTaskOrderList(data) {
  return request({
    url: prePath + '/downShelfTask/printOrderList',
    method: 'post',
    data,
  })
}

//拣货任务详情导出
export function excelDownShelfTaskOrder(data) {
  return request({
    url: prePath + '/downShelfTask/excelOrder',
    responseType: 'blob',
    method: 'post',
    data,
  })
}

//拣货任务详情打印
export function printDownShelfTaskOrder(data) {
  return request({
    url: prePath + '/downShelfTask/printOrder',
    method: 'post',
    data,
  })
}

//拣货明细自定义查询分页
export function getDownShelfTaskCustomizeList(data) {
  return request({
    url: prePath + '/downShelfTask/customizeList/page',
    method: 'post',
    data,
  })
}

//拣货自定义查询全部
export function getDownShelfTaskCustomizeListAll(data) {
  return request({
    url: prePath + '/downShelfTask/customizeList/all',
    method: 'post',
    data,
  })
}

//拣货自定义查询全部
export function getDownShelfTaskDetailCustomizeListAll(data) {
  return request({
    url: prePath + '/downShelfTaskDetail/customizeList/all',
    method: 'post',
    data,
  })
}

//拣货自定义查询分页
export function getDownShelfTaskDetailCustomizeListPage(data) {
  return request({
    url: prePath + '/downShelfTaskDetail/customizeList/page',
    method: 'post',
    data,
  })
}

//拣货明细分组查询
export function getDownShelfTaskDetailCustomizeListGroups(data) {
  return request({
    url: prePath + '/downShelfTaskDetail/customizeGroups',
    method: 'post',
    data,
  })
}

//导出拣货列表
export function exportDownShelfTaskDetailList(data) {
  return request({
    url: prePath + `/downShelfTaskDetail/excelDetailList`,
    method: 'post',
    data,
    responseType: 'blob',
  })
}

//打印拣货详情
export function printDownShelfTaskDetailList(data) {
  return request({
    url: prePath + '/downShelfTaskDetail/printDetailList',
    method: 'post',
    data,
  })
}

//拣货自定义查询全部
export function getDownShelfTaskDetailExtCustomizeListAll(data) {
  return request({
    url: prePath + '/downShelfTaskDetailExt/customizeList/all',
    method: 'post',
    data,
  })
}

//上架查询产品
export function getToPutShelfDetailCustomizeList(data) {
  return request({
    url: prePath + '/storeStockOrderDetails/customizeList/page',
    method: 'post',
    data,
  })
}
//上架查询产品
export function getToPutShelfDetailCustomizeAll(data) {
  return request({
    url: prePath + '/storeStockOrderDetails/customizeList/All',
    method: 'post',
    data,
  })
}
//上架任务列表
export function getPutShelfCustomizeList(data) {
  return request({
    url: prePath + '/putShelfTask/customizeList/page',
    method: 'post',
    data,
  })
}

export function getWmsExportStockDetailAll(params) {
  return request({
    url: prePath + '/exportStockOrderDetail/all',
    method: 'get',
    params,
  })
}

//wms出库自定义查询全部
export function getWmsExportStockDetailExtCustomizeListAll(data) {
  return request({
    url: prePath + '/exportStockOrderDetailExt/customizeList/all',
    method: 'post',
    data,
  })
}

//wms出库新增
export function createWmsExportStock(data) {
  return request({
    url: prePath + '/exportStockOrder',
    method: 'post',
    data,
  })
}

export function updateWmsExportStock(data) {
  return request({
    url: prePath + '/exportStockOrder',
    method: 'put',
    data,
  })
}

//wms出库查询
export function getWmsExportStockById(id) {
  return request({
    url: prePath + '/exportStockOrder/' + id,
    method: 'get',
  })
}

//wms出库删除
export function removeWmsExportStock(data) {
  return request({
    url: prePath + '/exportStockOrder',
    method: 'delete',
    data,
  })
}

// wms出库任务导出
export function exportExcelWmsExportStockOrder(data) {
  return request({
    url: prePath + `/exportStockOrder/excelOrderList`,
    method: 'POST',
    data,
    responseType: 'blob',
  })
}

//wms出库任务打印
export function printWmsExportStockOrderList(data) {
  return request({
    url: prePath + '/exportStockOrder/printOrderList',
    method: 'post',
    data,
  })
}

//wms出库任务详情导出
export function excelWmsExportStockOrder(data) {
  return request({
    url: prePath + '/exportStockOrder/excelOrder',
    responseType: 'blob',
    method: 'post',
    data,
  })
}

//wms出库任务详情打印
export function printWmsExportStockOrder(data) {
  return request({
    url: prePath + '/exportStockOrder/printOrder',
    method: 'post',
    data,
  })
}

//wms出库明细自定义查询分页
export function getWmsExportStockCustomizeList(data) {
  return request({
    url: prePath + '/exportStockOrder/customizeList/page',
    method: 'post',
    data,
  })
}

//wms出库自定义查询全部
export function getWmsExportStockCustomizeListAll(data) {
  return request({
    url: prePath + '/exportStockOrder/customizeList/all',
    method: 'post',
    data,
  })
}

//wms出库自定义查询全部
export function getWmsExportStockDetailCustomizeListAll(data) {
  return request({
    url: prePath + '/exportStockOrderDetail/customizeList/all',
    method: 'post',
    data,
  })
}

//wms出库自定义查询分页
export function getWmsExportStockDetailCustomizeListPage(data) {
  return request({
    url: prePath + '/exportStockOrderDetail/customizeList/page',
    method: 'post',
    data,
  })
}

//wms出库明细分组查询
export function getWmsExportStockDetailCustomizeListGroups(data) {
  return request({
    url: prePath + '/exportStockOrderDetail/customizeGroups',
    method: 'post',
    data,
  })
}

//导出wms出库列表
export function exportWmsExportStockDetailList(data) {
  return request({
    url: prePath + `/exportStockOrderDetail/excelDetailList`,
    method: 'post',
    data,
    responseType: 'blob',
  })
}

//打印wms出库详情
export function printWmsExportStockDetailList(data) {
  return request({
    url: prePath + '/exportStockOrderDetail/printDetailList',
    method: 'post',
    data,
  })
}

export function rejectWmsExportOrder(data) {
  return request({
    url: prePath + '/exportStockOrder/reject',
    method: 'post',
    data,
  })
}

export function backUpWmsExportOrder(data) {
  return request({
    url: prePath + '/exportStockOrder/backUp',
    method: 'post',
    data,
  })
}

export function exportWmsExportOrder(params) {
  return request({
    url: prePath + '/exportStockOrder/export',
    method: 'get',
    params,
  })
}

export function closeWmsExportOrder(data) {
  return request({
    url: prePath + '/exportStockOrder/close',
    method: 'post',
    data,
  })
}

export function auditWmsExportOrder(data) {
  return request({
    url: prePath + '/exportStockOrder/audit/',
    method: 'post',
    data,
  })
}

export function reviewWmsExportOrder(data) {
  return request({
    url: prePath + '/exportStockOrder/review/',
    method: 'post',
    data,
  })
}

export function createDownShelfTaskWmsExportOrder(data) {
  return request({
    url: prePath + '/exportStockOrder/createDownShelfTask',
    method: 'post',
    data,
  })
}

export function revokeWmsExportOrder(data) {
  return request({
    url: prePath + '/exportStockOrder/revoke',
    method: 'post',
    data,
  })
}

export function submitWmsExportOrder(data) {
  return request({
    url: prePath + '/exportStockOrder/submit',
    method: 'post',
    data,
  })
}
//仓储入库单
export function getWsmStoreStockOrderCustomizeList(data) {
  return request({
    url: prePath + '/storeStockOrder/customizeList/page',
    method: 'post',
    data,
  })
}
//仓储入库单列表导出
export function excelOrderListWsmStoreStockOrder(data) {
  return request({
    url: prePath + '/storeStockOrder/excelOrderList',
    method: 'post',
    data,
    responseType: 'blob',
  })
}
//仓储入库单列表 打印
export function printOrderListWsmStoreStockOrder(data) {
  return request({
    url: prePath + '/storeStockOrder/printOrderList',
    method: 'post',
    data,
  })
}
//仓储入库单明细列表导出
export function excelDetailListListWsmStoreStockOrder(data) {
  return request({
    url: prePath + '/storeStockOrderDetails/excelDetailList',
    method: 'post',
    data,
    responseType: 'blob',
  })
}
//仓储入库单明细列表 打印
export function printDetailListListWsmStoreStockOrder(data) {
  return request({
    url: prePath + '/storeStockOrderDetails/printDetailList',
    method: 'post',
    data,
  })
}
//仓储入库单列表 详情页导出
export function printOrderWsmStoreStockOrder(data) {
  return request({
    url: prePath + '/storeStockOrder/printOrder',
    method: 'post',
    data,
    responseType: 'blob',
  })
}
//仓储入库单列表 详情页 打印
export function excelOrderWsmStoreStockOrder(data) {
  return request({
    url: prePath + '/storeStockOrder/excelOrder',
    method: 'post',
    data,
  })
}

export function getWsmStoreStockOrderDetailCustomizeList(data) {
  return request({
    url: prePath + '/storeStockOrderDetails/customizeList/all',
    method: 'post',
    data,
  })
}

export function getWsmStoreStockOrderDetailCustomizeListPage(data) {
  return request({
    url: prePath + '/storeStockOrderDetails/customizeList/page',
    method: 'post',
    data,
  })
}
export function getWsmStoreStockOrderDetailCustomizeGroups(data) {
  return request({
    url: prePath + '/storeStockOrderDetails/customizeGroups',
    method: 'post',
    data,
  })
}
//仓储入库单提交
export function submitWsmStoreStockOrder(data) {
  return request({
    url: prePath + '/storeStockOrder/submit',
    method: 'post',
    data,
  })
}
//仓储入库单撤回
export function revokeWsmStoreStockOrder(data) {
  return request({
    url: prePath + '/storeStockOrder/revoke',
    method: 'post',
    data,
  })
}
//仓储入库单生成上架任务
export function createPutShelfOrder(data) {
  return request({
    url: prePath + '/storeStockOrder/createPutShelfOrder',
    method: 'post',
    data,
  })
}
//仓储入库单校验数据
export function batchValidateWmsStoreStockOrder(data) {
  return request({
    url: prePath + '/storeStockOrder/batchValidate',
    method: 'post',
    data,
  })
}
//仓储入库单更新
export function updateWmsStoreStockOrder(data) {
  return request({
    url: prePath + '/storeStockOrder',
    method: 'put',
    data,
  })
}
//仓储入库单新增
export function createWmsStoreStockOrder(data) {
  return request({
    url: prePath + '/storeStockOrder',
    method: 'post',
    data,
  })
}
//仓储入库单获取明细
export function getWmsStoreStockOrderDetailAll(params) {
  return request({
    url: prePath + '/storeStockOrderDetails/all',
    method: 'get',
    params,
  })
}
//仓储入库单主单剧
export function detailWmsStoreStockOrder(id) {
  return request({
    url: prePath + '/storeStockOrder/' + id,
    method: 'get',
  })
}
//仓储入库单详情页打印数据
export function getWmsStoreStorePrint(data) {
  return request({
    url: prePath + '/storeStockOrder/printOrder',
    method: 'post',
    data,
  })
}
//仓储入库单打印二维码
export function wmsStoreStorePrintQrCode(data) {
  return request({
    url: prePath + '/storeStockOrder/printQrCode',
    method: 'post',
    data,
  })
}
export function wmsStoreOrderDetailsPrintQrCodeVO(data) {
  return request({
    url: prePath + '/storeStockOrderDetails/printQrCodeVO',
    method: 'post',
    data,
  })
}
// 仓储入库单导出
export function exportExcelWmsStoreOrder(data) {
  return request({
    url: prePath + `/storeStockOrder/excelOrder`,
    method: 'POST',
    data,
    responseType: 'blob',
  })
}
//仓储入库单入库
export function executeWmsStoreOrder(data) {
  return request({
    url: prePath + '/storeStockOrder/execute',
    method: 'post',
    data,
  })
}
//仓储入库单入库
export function executeWmsStoreOrderAndPut(data) {
  return request({
    url: prePath + '/storeStockOrder/executeAndPut',
    method: 'post',
    data,
  })
}
//仓储入库单撤回
export function revokeWmsStoreOrder(data) {
  return request({
    url: prePath + '/storeStockOrder/revoke',
    method: 'post',
    data,
  })
}
//仓储入库单删除
export function removeWmsStoreOrder(data) {
  return request({
    url: prePath + '/storeStockOrder',
    method: 'delete',
    data,
  })
}
export function WmsStoreOrderDetailsPrintQrCodeVO(data) {
  return request({
    url: prePath + '/storeStockOrderDetails/printQrCodeVO',
    method: 'post',
    data,
  })
}

//获取货位列表
export function getCargoSpacePages(params) {
  return request({
    url: prePath + '/cargoSpace/page',
    method: 'get',
    params,
  })
}
export function addAndPutShelfTask(data) {
  return request({
    url: prePath + '/putShelfTask/addAndPutShelf',
    method: 'post',
    data,
  })
}
export function scanStoreStockOrderDetails(data) {
  return request({
    url: prePath + '/storeStockOrderDetails/scan',
    method: 'post',
    data,
  })
}
//wms生成智能出库单
export function smartRecommendation(data) {
  return request({
    url: prePath + '/exportStockOrder/smartRecommendation',
    method: 'post',
    data,
  })
}
export function storeStockOrderAccountStore(data) {
  return request({
    url: prePath + '/storeStockOrder/accountStore',
    method: 'post',
    data,
  })
}
//获取货架信息树
export function getGoodsShelfTree(params) {
  return request({
    url: prePath + '/goodsShelf/tree',
    method: 'get',
    params,
  })
}
//新增货架
export function createGoodsShelf(data) {
  return request({
    url: prePath + '/goodsShelf',
    method: 'post',
    data,
  })
}
//修改货架
export function updataGoodsShelf(data) {
  return request({
    url: prePath + '/goodsShelf',
    method: 'put',
    data,
  })
}
//修改货架
export function removeGoodsShelf(data) {
  return request({
    url: prePath + '/goodsShelf',
    method: 'delete',
    data,
  })
}
//获取货位信息
export function getGoodsLocationcustomizeListAll(data) {
  return request({
    url: prePath + '/goodsLocation/customizeList/all',
    method: 'post',
    data,
  })
}
export function getGoodsLocationAll(params) {
  return request({
    url: prePath + '/goodsLocation/all',
    method: 'get',
    params,
  })
}
//保存货位
export function creatGoodsLocation(data) {
  return request({
    url: prePath + '/goodsLocation/save',
    method: 'post',
    data,
  })
}
//修改货位
export function updateGoodsLocation(data) {
  return request({
    url: prePath + '/goodsLocation/update',
    method: 'put',
    data,
  })
}
//获取过渡货位
export function getTransitionLocationByDeport(id) {
  return request({
    url: prePath + '/goodsLocation/transitionLocationByDeport/' + id,
    method: 'get',
  })
}
//获取过渡货位
export function quickPutShelf(data) {
  return request({
    url: prePath + '/storeStockOrder/quickPutShelf',
    method: 'post',
    data,
  })
}
//WMS入库单异常数据
export function getStoreOrderErrorDetailList(data) {
  return request({
    url: prePath + '/storeOrderErrorDetail/customizeList/page',
    method: 'post',
    data,
  })
} //停用货位
export function goodsLocationDisable(data) {
  return request({
    url: prePath + '/goodsLocation/disable',
    method: 'post',
    data,
  })
}
//启用货位
export function goodsLocationEnable(data) {
  return request({
    url: prePath + '/goodsLocation/enable',
    method: 'post',
    data,
  })
}
//快捷创建货位
export function quickCreateGoodsLocation(data) {
  return request({
    url: prePath + '/goodsLocation/quickCreate',
    method: 'post',
    data,
  })
}
//批量设置货位规则
export function goodsLocationSetPutawayRule(data) {
  return request({
    url: prePath + '/goodsLocation/setPutawayRule',
    method: 'post',
    data,
  })
}
//批量删除货位
export function deleteGoodsLocation(data) {
  return request({
    url: prePath + '/goodsLocation',
    method: 'delete',
    data,
  })
}
//货位一条货位
export function getGoodsLocationById(id) {
  return request({
    url: prePath + '/goodsLocation/' + id,
    method: 'get',
  })
}
//获取货位产品
export function getGoodsLocationProductRelation(params) {
  return request({
    url: prePath + '/goodsLocationProductRelation/all',
    method: 'get',
    params,
  })
}
//批量绑定产品
export function goodsLocationBindProduct(data) {
  return request({
    url: prePath + '/goodsLocation/bindProduct',
    method: 'post',
    data,
  })
}
//获取快捷拣货数量
export function getExportStockOrderSelectByGoodsLocation(data) {
  return request({
    url: prePath + '/exportStockOrder/selectByGoodsLocation',
    method: 'post',
    data,
  })
}
//仓储库存
export function getShelfStockCustomizeListPage(data) {
  return request({
    url: prePath + '/shelfStock/customizeList/page',
    method: 'post',
    data,
  })
}
//快捷拣货保存
export function quickCreateShelfTask(data) {
  return request({
    url: prePath + '/exportStockOrder/quickCreateShelfTask',
    method: 'post',
    data,
  })
}
//接单
export function downShelfTaskOrderReceive(data) {
  return request({
    url: prePath + '/downShelfTask/orderReceive',
    method: 'post',
    data,
  })
}
//取消
export function downShelfTaskCancel(data) {
  return request({
    url: prePath + '/downShelfTask/cancel',
    method: 'post',
    data,
  })
}
//终止
export function downShelfTaskStop(data) {
  return request({
    url: prePath + '/downShelfTask/stop',
    method: 'post',
    data,
  })
}

// 货位转移-列表
export function getTransferOrderPage(params) {
  return request({
    url: prePath + '/transferOrder/page',
    method: 'get',
    params,
  })
}
// 货位转移-转移
export function transferTransferOrder(data) {
  return request({
    url: prePath + '/transferOrder/transfer',
    method: 'post',
    data,
  })
}
// 货位转移-删除
export function delTransferOrder(data) {
  return request({
    url: prePath + '/transferOrder',
    method: 'delete',
    data,
  })
}
// 货位转移-新增
export function addTransferOrder(data) {
  return request({
    url: prePath + '/transferOrder/insert',
    method: 'post',
    data,
  })
}
// 货位转移-编辑
export function updateTransferOrder(data) {
  return request({
    url: prePath + '/transferOrder/update',
    method: 'put',
    data,
  })
}
// 货位转移-根据{id}获取一条数据
export function transferOrderById(id) {
  return request({
    url: prePath + '/transferOrder/' + id,
    method: 'get',
  })
}
// 货位转移-根据{id}获取列表数据
export function getConsumeOrderDetailCustomizeListAll(data) {
  return request({
    url: prePath + '/transferOrderDetail/customizeList/all',
    method: 'post',
    data,
  })
}
// 货位转移-转出货位或转入货位
export function goodsLocationPage(params) {
  return request({
    url: prePath + '/goodsLocation/page',
    method: 'get',
    params,
  })
}
// 货位转移-产品扫码
export function shelfStockScan(data) {
  return request({
    url: prePath + '/shelfStock/scan',
    method: 'post',
    data,
  })
}
// 货位转移-批次号
export function shelfStockNum(data) {
  return request({
    url: prePath + '/shelfStock/customizeList/all',
    method: 'post',
    data,
  })
}
// 货位转移-个体详情左侧
export function getDepotStockCustomizeListPage(data) {
  return request({
    url: prePath + '/shelfStock/customizeList/page',
    method: 'post',
    data,
  })
}
// 货位转移-自定义扫码
export function shelfStockCustomizeScanWithConsume(data) {
  return request({
    url: prePath + '/shelfStock/customizeScan',
    method: 'post',
    data,
  })
}
// 拣货保存
export function downShelfSave(data) {
  return request({
    url: prePath + '/downShelfTask/downShelfSave',
    method: 'post',
    data,
  })
}
